﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TisNews.aspx.cs" Inherits="TIS.NewsTis.TisNews" %>

<%@ Register TagPrefix="uc" TagName="footer" Src="../UserControl/footer.ascx" %>
<%@ Register TagPrefix="uc" TagName="menu" Src="../UserControl/Menu.ascx" %>
<%@ Register TagPrefix="uc" TagName="video" Src="../UserControl/video.ascx" %>
<%@ Register TagPrefix="uc" TagName="customer" Src="../UserControl/khachhang.ascx" %>
<%@ Register TagPrefix="uc" TagName="newsRight" Src="../UserControl/TisNewsRight.ascx" %>
<%@ Register TagPrefix="uc" TagName="language" Src="../UserControl/Language.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
     <title>
        <asp:Literal ID="ltlMetaTitle" runat="server"></asp:Literal>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/css/style.css" />
    <link rel="stylesheet" type="text/css" href="/css/nivoSlider.css" />
    <link rel="stylesheet" type="text/css" href="/css/skins/tango/skin.css" />
    <script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/js/nivo-slider/jquery.nivo.slider.pack.js"></script>
    <script type="text/javascript" src="/js/jcarousel/jquery.jcarousel.min.js"></script>
    <script type="text/javascript" src="/js/main.js"></script>
    <meta name="description" content=" <asp:Literal ID="ltlMetaDescription" runat="server"></asp:Literal>" />
    <meta name="keywords" content=" <asp:Literal ID="ltlMetaKeywords" runat="server"></asp:Literal>" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <div id="header" class="header-special">
            <div class="col-980">
                <div class="head">
                    <a href="/" ><img class="logo" src="/images/logo.png" width="71" height="47" alt="TIS" /></a>
                    <div class="company">
                        <h1>
                            CÔNG TY CỔ PHẦN TIS</h1>
                        <p>
                            Lựa chọn cho giải pháp tốt nhất</p>
                    </div>
                    <ul class="language">
                        <uc:language ID="language" runat="server" />
                    </ul>
                </div>
                <uc:menu ID="menu" runat="server" />
                <div class="slideshow">
                    <asp:Literal ID="ltlImageCategory" runat="server"></asp:Literal>
                </div>
            </div>
        </div>
        <div id="content">
            <div class="product">
                <div class="col-980">
                    <div class="col-625">
                        <asp:Repeater runat="server" ID="rpContent">
                            <ItemTemplate>
                                <h2 class="title">
                                    <%# Eval("CategoryName")%></h2>
                                <div class="content-detail">
                                    <h3 class="product-title">
                                        <%# Eval("NewsTitle")%>
                                    </h3>
                                    <p class="time-update" style="display : <%# Eval("CategorySEOUrl").ToString().Substring(0, 4) == "http" ? "none" : "block" %>">
                                        Cập nhật lúc <%# Eval("NewsDate", "{0:dd/MM/yyyy}")%>
                                    </p>
                                    <p class="content-description">
                                        <%# Eval("NewsDescription")%>
                                    </p>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                        <div class="paging">
                            <div style="float: right !important;margin-left : 5px;">
                                <div  class="g-plusone"  data-size="medium" data-href=" <asp:Literal ID="ltlGoogle" runat="server"></asp:Literal>"></div>
                                </div>
                            <div id="fb-root"></div>
                            <script>    (function (d, s, id) {
                                    var js, fjs = d.getElementsByTagName(s)[0];
                                    if (d.getElementById(id)) return;
                                    js = d.createElement(s); js.id = id;
                                    js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
                                    fjs.parentNode.insertBefore(js, fjs);
                                } (document, 'script', 'facebook-jssdk'));</script>
                                <div class="fb-like" style="float: right;" data-href=" <asp:Literal ID="ltlFacebook" runat="server"></asp:Literal>" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div>
                            <!-- Place this tag where you want the +1 button to render. -->
                            

                            <!-- Place this tag after the last +1 button tag. -->
                            <script type="text/javascript">
                                window.___gcfg = { lang: 'vi' };

                                (function () {
                                    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                                    po.src = 'https://apis.google.com/js/plusone.js';
                                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                                })();
                            </script>
                        </div>
                        <div class="project-info" style="display : 
                            <asp:Literal ID="ltlDisplayProject" runat="server"></asp:Literal>;">
                            <h3 class="title">
                                CÁC DỰ ÁN ĐÃ TRIỂN KHAI
                                <hr width="415" />
                            </h3>
                            <ul class="list-right martop-15">
                                <asp:Repeater runat="server" ID="rpTinTrienKhai">
                                    <ItemTemplate>
                                        <li><a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                                            <%# Eval("NewsTitle") %>
                                            <span>(<%# Eval("NewsDate", "{0:dd/MM/yyyy}")%>) </span></a></li>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </ul>
                        </div>
                    </div>
                    <div class="col-300">
                        <uc:video ID="video" runat="server" />
                        <uc:newsRight ID="news" runat="server" />
                    </div>
                </div>
            </div>
            <div class="customer-tis">
                <uc:customer ID="customer" runat="server" />
            </div>
        </div>
        <uc:footer runat="server" ID="footer" />
    </div>
    </form>
</body>
</html>
